package com.ruoyi.project.digital.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @作者 孙山伟
 * @日期 2023/12/22
 */
@Data
public class RegisterDto {


    @ApiModelProperty(value = "密码", required = true)
    @NotNull(message = "密码不能为空")
    @NotEmpty(message = "密码不能为空")
    String password;


    @ApiModelProperty(value = "重复密码", required = true)
    @NotNull(message = "重复密码不能为空")
    @NotEmpty(message = "重复密码不能为空")
    String rePassword;

    @ApiModelProperty(value = "手机号", required = true)
    @NotNull(message = "手机号不能为空")
    @NotEmpty(message = "手机号不能为空")
    String phone;

    @ApiModelProperty(value = "短信验证码", required = true)
    @NotNull(message = "短信验证码不能为空")
    @NotEmpty(message = "短信验证码不能为空")
    String smsCode;

    @ApiModelProperty(value = "微信id", required = true)
    String weixinId;

    @ApiModelProperty(value = "QQid", required = true)
    String qqId;
}
